Repository navigation
A paused run reads as paused in the runs list and the palette, and its last step is short - #527
Conversation
…s last step is short - The runs list and the command palette show "Paused, resumes <time in the viewer's zone>" (or "Waiting for token room, starts <time>") for a run held by the token limit, never "Needs your answer". They read the new pause on RunSummary and on search results. - The run page's last step reads "Paused by the token limit" with its Waiting tag; the full pause sentence stays only in the outcome box. - The webhooks docs explain run.paused next to run.needs_input. - openapi-fields.ts regenerated from the platform pull request's head.
|
|
||
| /** The platform commit this was generated from. */ | ||
| export const OPENAPI_REF = "4cf19f559b9e6e71206d42a6c5c6d02d2985dd57"; | ||
| export const OPENAPI_REF = "c0206416f191a0c9bde29d3a6bb87622dd13a77a"; |
There was a problem hiding this comment.
💬 FYI: Generated from an unmerged platform commit (question)
OPENAPI_REF points at the head of the open platform pull request. The regeneration also pulled in unrelated fields (own_review, RunOwnReview, UsageLimit.projected_at and warn_level). If that branch is squashed or force-pushed, the ref may stop resolving. It is worth checking that npm run openapi:fields is rerun against the merged platform commit once the paired pull request lands.
| * the token limit reads "Paused, resumes <when, in the viewer's zone>", never | ||
| * "Needs your answer". | ||
| */ | ||
| export function runListLook(status: string | null | undefined, pause?: RunPause | null): RunLook { |
There was a problem hiding this comment.
💬 FYI: A parallel structure next to an existing one (scope, not verified)
dashboard/src/components/run-status.tsx adds runListLook next to the existing runStatusLook. Extend the existing one (add the entries or the parameter there) and remove the new one. If the ticket truly needs it, say why on a line Wider than the ticket: dashboard/src/components/run-status.tsx: <why>.
FYI, not a block: on the whole picture this is not a named correctness, security or data-loss problem to hold the merge on.
|
🔴 Post-merge health check FAILED: the merge of
|
Summary
A run held by the team's monthly token limit now reads as paused in the runs list and the command palette, not as "Needs your answer". The run page says the full pause sentence once, in its outcome box. This follows #514, which merged before these changes, and pairs with CoderHelm/coderhelm-platform#937. That pull request adds
pauseto the runs list and the search results, and sends the newrun.pausedwebhook event.Changes
pauseonRunSummaryand on search results (runListLook). Runs that wait on a person keep their own words.RunListItem(a run withpause) is the runs list's type.openapi-fields.tsis regenerated from the platform pull request's head, so the type check holdspauseto the gateway'sRunSummary.run.needs_inputandrun.paused: which one needs a person, and which one goes on by itself.Verification
e2e/token-limit-pauses.spec.tshas 10 tests, all passing. They add a list-row test (paused, waiting for room, and a person's wait), a command palette test, and a check that the run page shows the full pause sentence once while its last step says only "Paused by the token limit".list-and-palette,run-steps,close-runsandwebhooks(42 tests in all).check:openapipass.